﻿using System.Windows.Forms;
using BadgeManager.Controller;

namespace Badge_Manager.View
{
    public partial class frmAccessiErrati : Form
    {
        public frmAccessiErrati()
        {
            InitializeComponent();
            Elenco();
        }

        private void Elenco()
        {
            grid.DataSource = null;
            grid.DataSource = new ctrlAccessiErrati().Ricerca();

            grid.Columns["Id"].Visible = false;
        }

        private void cmdAnnulla_Click(object sender, System.EventArgs e)
        {
            this.Close();
        }
    }
}